<template>
	<view class="afterSale">
		<view class="shop-box">
			<view class="shop-box-title">
				申请售后商品
			</view>
			<view class="shop-box-bottom">
				<image class="shop-box-bottom-img" src="../../../static/healthy/zhongyao.png" mode=""></image>
				<view class="shop-box-right">
					<text class="title">植物护洗手液免洗漱75%酒洗漱75%酒</text>
					<text class="specs">免洗手凝胶80ml <text class="num" style="margin-left: 20rpx;">3瓶</text></text>
					<text class="paidintegral">实付积分：2700</text>
				</view>
			</view>
		</view>
		<view class="server-type">
			<view class="server-type-title">
				选择服务类型
			</view>
			<view class="server-type-box">
				<text class="box-text">我要退积分（无需退货）</text>
				<view class="box" @click="regressiveintegral">
					<text class="box-title">已收到货，无需退货退还积分</text>
					<image class="box-img" src="../../../static/mine/rightjiantou.png" mode=""></image>
				</view>
			</view>
			<view class="server-type-box">
				<text class="box-text">我要退货退积分</text>
				<view class="box" @click="returnpoints">
					<text class="box-title">已收到货，需要退还已收到的货物并退还积分</text>
					<image class="box-img" src="../../../static/mine/rightjiantou.png" mode=""></image>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			//退积分
			regressiveintegral(){
				uni.navigateTo({
					url:'/myPackageA/mine/afterSale/regressiveintegral'
				})
			},
			//退货退积分
			returnpoints(){
				uni.navigateTo({
					url:'/myPackageA/mine/afterSale/regressiveintegral'
				})
			}
		}
	}
</script>

<style scoped lang="less">
	.afterSale{
		padding: 40rpx;
		.shop-box{
			width: 100%;
			height: 290rpx;
			background: #FFFFFF;
			opacity: 1;
			border-radius: 20rpx;
			margin-bottom: 60rpx;
			padding: 30rpx;
			.shop-box-title{
				font-size: 36rpx;
				font-family: Source Han Sans CN;
				font-weight: 400;
				color: #333333;
				margin-bottom: 32rpx;
			}
			.shop-box-bottom{
				display: flex;
				.shop-box-bottom-img{
					width: 160rpx;
					height: 160rpx;
				}
				.shop-box-right{
					width: 420rpx;
					margin-left: 20rpx;
					display: flex;
					flex-direction: column;
					.title{
						font-size: 32rpx;
						font-family: Source Han Sans CN;
						font-weight: 400;
						color: #333333;
						white-space:nowrap;
						overflow:hidden;
						text-overflow:ellipsis;
					}
					.specs{
						font-size: 28rpx;
						font-family: Source Han Sans CN;
						font-weight: 400;
						color: #999999;
						margin: 20rpx 0 22rpx;
					}
					.paidintegral{
						font-size: 28rpx;
						font-family: Source Han Sans CN;
						font-weight: 400;
						color: #333333;
						text-align: right;
					}
				}
			}
		}
		.server-type{
			width: 100%;
			height: 388rpx;
			background: #FFFFFF;
			opacity: 1;
			border-radius: 20rpx;
			padding: 30rpx;
		   	.server-type-title{
				font-size: 36rpx;
				font-family: Source Han Sans CN;
				font-weight: 400;
				color: #333333;
				margin-bottom: 40rpx;
			}
			.server-type-box{
				display: flex;
				flex-direction: column;
				margin-bottom: 40rpx;
				.box-text{
					font-size: 32rpx;
					font-family: Source Han Sans CN;
					font-weight: 400;
					color: #333333;
				}
				.box{
					margin-top: 20rpx;
					display: flex;
					align-items: center;
					justify-content: space-between;
					.box-title{
						font-size: 28rpx;
						font-family: Source Han Sans CN;
						font-weight: 400;
						color: #999999;
					}
					.box-img{
						width: 12rpx;
						height: 22rpx;
					}
				}
			}
		}
	}
</style>
